﻿<%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="false" CodeFile="MenuTest.aspx.vb" Inherits="Pages_MenuTest" %>
<%@ Import Namespace="System.Data" %>


<asp:Content ID="Content1" ContentPlaceHolderID="Hlavni" Runat="Server">
<link href="../CSS/themes/default/default.css" media="screen" rel="stylesheet" type="text/css" />
<link href="../CSS/dropdown/dropdown.vertical.css" rel="stylesheet" type="text/css" />


<ul id="nav"  class="dropdown dropdown-vertical">
<asp:Repeater runat="server" ID="RPT_Kategorie">
<HeaderTemplate></HeaderTemplate>
<ItemTemplate>
<li class="dir"><%# DataBinder.Eval(Container.DataItem, "Kategorie")%>
<ul>
<asp:Repeater runat="server" ID="RPT_Subkategorie" datasource='<%#DirectCast(Container.DataItem, DataRowView).Row.GetChildRows("myrelation") %>'>
<ItemTemplate>
    <li><a href="<%# DirectCast(Container.DataItem, DataRow)("WebURL")%>"><%# DirectCast(Container.DataItem, DataRow)("Subkategorie")%></a></li>
</ItemTemplate>
</asp:Repeater>
</ul>
</li>
</ItemTemplate>
</asp:Repeater>
</ul>




</asp:Content>

